package cn.com.haopy.yue.ai.db.entity.arisk;

import cn.com.haopy.yue.ai.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName(value = "arisk_user", autoResultMap = true)
public class HOSUser extends BaseEntity {

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("gender")
    private short gender;

    @TableField("birthday")
    private java.sql.Date birthday;

    @TableField("last_login_time")
    private LocalDateTime lastLoginTime;

    @TableField("last_login_ip")
    private String lastLoginIp;

    @TableField("nickname")
    private String nickname;

    @TableField("mobile")
    private String mobile;

    @TableField("avatar")
    private String avatar;

    @TableField("weixin_openid")
    private String weixinOpenid;

    @TableField("weixin_unionid")
    private String weixinUnionid;

    @TableField("weixin_type")
    private Short weixinType;

    @TableField("session_key")
    private String sessionKey;


    @TableField("status")
    private Short status;

    @TableField("vip_end_date")
    private LocalDate vipEndDate;


}
